removeSubshape

abstract fun removeSubshape(block: DesignBlock, index: Int)

Removes the subshape at the given index of a compound shape. The subshape is not destroyed. Required scope: "shape/change" Experimental: this API may change in a minor release.

Parameters

block

the compound shape block.

index

the index of the subshape to remove.